package com.blacksheep.mtm.pojo.manager;

import java.util.Date;

public class TbMedicine {
    private Integer medicineId;

    private Integer supplierId;
    private String name;
    private String medicineName;

    private String deliveryNote;

    private Integer state;

    private String manufacturer;

    private String standard;
    private Integer freezing;

    private Integer basicTime;
    private Date createTime;

    private Date updateTime;

    private float price;

    public TbMedicine() {
        super();
    }


    public TbMedicine(Integer medicineId, Integer supplierId, String medicineName, String deliveryNote, Integer state, String manufacturer, String standard, Integer basicTime, Date createTime, Date updateTime) {
        this.medicineId = medicineId;
        this.supplierId = supplierId;
        this.medicineName = medicineName;
        this.deliveryNote = deliveryNote;
        this.state = state;
        this.manufacturer = manufacturer;
        this.standard = standard;
        this.basicTime = basicTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public TbMedicine(Integer medicineId, String name, String medicineName, Integer state, String manufacturer, String standard, Integer freezing, float price) {
        this.medicineId = medicineId;
        this.name = name;
        this.medicineName = medicineName;
        this.state = state;
        this.manufacturer = manufacturer;
        this.standard = standard;
        this.freezing = freezing;
        this.price = price;
    }

    public Integer getBasicTime() {
        return basicTime;
    }

    public void setBasicTime(Integer basicTime) {
        this.basicTime = basicTime;
    }


    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getMedicineName() {
        return medicineName;
    }

    public void setMedicineName(String medicineName) {
        this.medicineName = medicineName == null ? null : medicineName.trim();
    }

    public String getDeliveryNote() {
        return deliveryNote;
    }

    public void setDeliveryNote(String deliveryNote) {
        this.deliveryNote = deliveryNote == null ? null : deliveryNote.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard == null ? null : standard.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getFreezing() {
        return freezing;
    }

    public void setFreezing(Integer freezing) {
        this.freezing = freezing;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}